<%--
  Created by IntelliJ IDEA.
  User: Hey
  Date: 2017/3/8
  Time: 16:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="common/common_head.jsp"%>
<html>
<head>
    <title>Home</title>
    <link href="css/index.css" rel="stylesheet">
    <script type="text/javascript" language="javascript">
        function iFrameHeight() {
            var ifm= document.getElementById("mainContent");
            var subWeb = document.frames ? document.frames["mainContent"].document : ifm.contentDocument;
            if(ifm != null && subWeb != null) {
                ifm.height = subWeb.body.scrollHeight;
                ifm.width = subWeb.body.scrollWidth;
            }
        }
    </script>
</head>
<body>
<%--上部导航栏--%>
<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">大机段班车</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav navbar-right">
                <li><a href="#">Home</a></li>
                <li><a href="#">Settings</a></li>
                <li><a href="#">Profile</a></li>
                <li><a href="#">Logout</a></li>
            </ul>
            <form class="navbar-form navbar-right">
                <input type="text" class="form-control" placeholder="Search...">
            </form>
            <ul class="nav navbar-nav navbar-right">
                <li><a href="#"><span class="glyphicon glyphicon-user"></span>梁峰</a></li>
            </ul>
        </div>
    </div>
</nav>
<%--右侧导航栏--%>
<div class="container-fluid" >
    <div class="row">
        <div class=" col-md-1 sidebar  ">
            <ul class="nav nav-sidebar  ">
                <%--<li class="active"><a href="#">Overview <span class="sr-only">(current)</span></a></li>--%>
                <li>
                    <a  data-toggle="collapse"  href="#SystemManager" >系统管理</a>
                       <ul id="SystemManager" class="list-unstyled  nav collapse mynavbar"   >
                           <li><a href="login.jsp" target="toa" >用户管理</a></li>
                           <li><a>角色管理</a></li>
                           <li><a>菜单管理</a></li>
                           <li><a>权限设置</a></li>
                       </ul>
                </li>
                <li>
                    <a data-toggle="collapse"  href="#CarManager">供车管理</a>
                        <ul id="CarManager" class=" list-unstyled  nav collapse mynavbar">
                            <li><a>企业管理</a></li>
                            <li><a>车型管理</a></li>
                            <li><a>车辆管理</a></li>
                            <li><a>司机管理</a></li>
                            <li><a>施工队管理</a></li>
                        </ul>
                </li>
                <li>
                    <a data-toggle="collapse"  href="#OrderManager">订单管理</a>
                    <ul id="OrderManager" class="list-unstyled  nav collapse mynavbar">
                        <li><a>订单分配记录</a></li>
                        <li><a>订单列表</a></li>
                    </ul>
                </li>
            </ul>
        </div>

        <iframe class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 container-fluid " onLoad="iFrameHeight()" scrolling="no" style="margin: 0px " id="mainContent" frameborder="0" name="toa">
        </iframe>

    </div>
</div>
</body>
</html>
